package org.ch03.job.test02;

/**
 * @author XCH
 * @date 2025 - 03 - 26
 */
public class User<T>{
    private T date;

    public T getDate() {
        return date;
    }

    public void setDate(T date) {
        this.date = date;
    }
    public <T> T GenericsClass(T clazz){
        T msg = clazz;
        System.out.println(msg+"age:18");
        return msg;
    }
}
